package cn.bdqn.crm.domain.dao;
import cn.bdqn.crm.domain.pojo.BasDict;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BasDictMapper {

	public BasDict getBasDictById(@Param(value = "id") Long id)throws Exception;

	public List<BasDict> getBasDictListByMap(Map<String,Object> param)throws Exception;

	public Integer getBasDictCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertBasDict(BasDict basDict)throws Exception;

	public Integer updateBasDict(BasDict basDict)throws Exception;

	public Integer deleteBasDictById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteBasDict(Map<String,List<String>> params);


}
